<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/include/taglibs.jsp"%>
<style>

</style>

<div id="left">
<h3>谢谢您的反馈:</h3>  
<form method="post" action="editFeedBack.html" name="feedBack">
<spring:bind path="feedBack.id">
<input type="hidden" name="id" value="${status.value}"/> 
</spring:bind>
<table class="detail">
您发现了什么不爽的地方，或有些好的提议，请您不吝告诉我们，我们一定认真考虑，早日改进。谢谢！
<tr>
    <th><label for="name" class="required">
        <fmt:message key="feedBack.name"/>:</label></th>
    <td>
        <spring:bind path="feedBack.name">
        <input type="text" name="${status.expression}" 
            id="name" value="${status.value}" size="40"/>
        <span class="fieldError">${status.errorMessage}</span>
        </spring:bind>
    </td>
</tr>
<tr>
    <th><label for="email" class="required">
        <fmt:message key="feedBack.email"/>:</label></th>
    <td>
        <spring:bind path="feedBack.email">
        <input type="text" name="${status.expression}" value="${status.value}" size="40"/>
        <span class="fieldError">${status.errorMessage}</span>
        </spring:bind>
    </td>
</tr>
<tr>
    <th><label for="content" class="required">
        <fmt:message key="feedBack.content"/>:</label></th>
    <td>
        <spring:bind path="feedBack.content">
        <textarea name="${status.expression}"  cols="40" rows="10">${status.value}</textarea>
        <span class="fieldError">${status.errorMessage}</span>
        </spring:bind>
    </td>
</tr>

<tr>
    <td></td>
    <td>
        <input type="submit" class="button" name="save" value="提交"/>
      	<input type="button" class="button" name="cancel" value="取消" onclick="javascript:history.back(-1)"/>
    </td>
</tr>
</table>
</form>
</div>

<div id="right">
<jsp:include page="/include/openSite.jsp"/>
</div>

<script type="text/javascript">
    document.forms["feedBack"].elements["title"].focus();
</script>

<v:javascript formName="feedBackForm" staticJavascript="false" xhtml="true" cdata="false"/>
<script type="text/javascript" src="<c:url value="/scripts/validator.jsp"/>"></script>
